package qingke.pojo;

import java.util.ArrayList;
import java.util.List;

public class Client {
	private int id;
	private String name;
	private String phone;
	private int clientTypeID;
	private int clientStatusID;

	private List<Order> orders;
	private List<Product> products;

	public Client() {

	}

	public Client(int id, String name, String phone) {
		this.id = id;
		this.name = name;
		this.phone = phone;

		this.orders = new ArrayList<Order>();
		this.products = new ArrayList<Product>();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public List<Order> getOrders() {
		return orders;
	}

	public void setOrders(List<Order> orders) {
		this.orders = orders;
	}

	public List<Product> getProducts() {
		return products;
	}

	public void setProducts(List<Product> products) {
		this.products = products;
	}

	public int getClientStatusID() {
		return clientStatusID;
	}

	public void setClientStatusID(int clientStatusID) {
		this.clientStatusID = clientStatusID;
	}

	public int getClientTypeID() {
		return clientTypeID;
	}

	public void setClientTypeID(int clientTypeID) {
		this.clientTypeID = clientTypeID;
	}

}
